@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="condition" name="内容" placeholder="问题id/问题"/>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="type" name="类型" >
                                    <option value="">全部</option>
                                    <option value="1">调查问卷</option>
                                    <option value="2">广告提问</option>
                                    <option value="3">商家问卷</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="status" name="状态" >
                                    <option value="">全部</option>
                                    <option value="1">待使用</option>
                                    <option value="2">使用中</option>
                                    <option value="3">审核中</option>
                                    <option value="4">发布中</option>
                                    <option value="5">下架</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="WzQuestion.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="WzQuestionTableToolbar" role="group">
                            @if(shiro.hasPermission("/wzQuestion/add")){
                                <#button name="添加" icon="fa-plus" clickFun="WzQuestion.openAddWzQuestion()"/>
                            @}
                            @if(shiro.hasPermission("/wzQuestion/update")){
                                <#button name="修改" icon="fa-edit" clickFun="WzQuestion.openWzQuestionDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/wzQuestion/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="WzQuestion.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="WzQuestionTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/wz/wzQuestion/wzQuestion.js"></script>
@}
